Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632542 Views

Latest files of /cody/solygambas/html-css-javascript-projects/072-memory cards

style.css cody/solygambas/html-css-javascript-projects/072-memory cards/style.css
115 Views
0 Comments
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap");

:root {
--primary-color: #8e44ad;
--background-color: #b8c6db;
--secondary-background-color: #f5f7fa;
--light-color: #fff;
--border-color: #aaa;
index.html cody/solygambas/html-css-javascript-projects/072-memory cards/index.html
285 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
script.js cody/solygambas/html-css-javascript-projects/072-memory cards/script.js
181 Views
0 Comments
const cardsContainer = document.getElementById("cards-container");
const prevButton = document.getElementById("prev");
const nextButton = document.getElementById("next");
const currentElement = document.getElementById("current");
const showButton = document.getElementById("show");
const hideButton = document.getElementById("hide");
const questionElement = document.getElementById("question");
const answerElement = document.getElementById("answer");